@import "../../../customGlobal.scss";

.backBtnStyle {
  width: 1.5rem;
}

ion-content {
  --background: #f2f3f5;
  --padding-bottom: 4.13rem;

  @supports (bottom: constant(safe-area-inset-top)) {
    --padding-bottom: calc(4.13rem + constant(safe-area-inset-bottom));
  }

  @supports (bottom: env(safe-area-inset-top)) {
    --padding-bottom: calc(4.13rem + env(safe-area-inset-bottom));
  }
}

ion-title {
  padding-inline-start: 20px;
  padding-inline-end: 20px;
}

ion-footer {
  z-index: 1000;
  box-shadow: 0 -1px 6px 0 rgba(133, 136, 148, 0.1);
  background: #fff;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 0.94rem;
  padding-bottom: 0.94rem;
}

@supports (bottom: constant(safe-area-inset-top)) {
  ion-footer {
    padding-bottom: calc(0.94rem + constant(safe-area-inset-bottom));
  }
}

@supports (bottom: env(safe-area-inset-top)) {
  ion-footer {
    padding-bottom: calc(0.94rem + env(safe-area-inset-bottom));
  }
}

.input {
  width: 68%;
  height: 32px;
  background: white;
  padding: 4px 0;
  border: 0px;
  font-size: 1rem;
}

input:-ms-input-placeholder {
  color: #b6b7bf;
  font-size: 1rem;
}

input::-webkit-input-placeholder {
  color: #b6b7bf;
  font-size: 1rem;
}

textarea {
  box-sizing: border-box;
  resize: none;
}

.toleft {
  right: 4.13rem;
}

.toright {
  right: 0;
}

.chat {
  height: 2rem;
  position: relative;
  padding-left: 0.94rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.more {
  width: 1.56rem;
  height: 1.56rem;
  background-image: url("../../../assets/icon/IM_more@3x.png");
  background-size: 100%;
  top: 0.18rem;
  margin-right: 0.94rem;
  z-index: 99;
  background-repeat: none;
  // float: right;
}

.send {
  width: 3.25rem;
  height: 1.88rem;
  background: linear-gradient(270deg, #ff6314 0%, #ff9500 100%);
  border-radius: 1.605rem;
  font-size: 0.88rem;
  color: #ffffff;
  text-align: center;
  line-height: 1.88rem;
  top: 0;
  right: 0;
  margin-right: 0.94rem;

  @if $appType =="LJ" {
    background: linear-gradient(90deg, #ffe14a 0%, #ffca3a 100%);
    color: #252629;
  }
}

.operate {
  display: inline-block;
  margin-right: 10px;
}

.showMoreInfoBox{
 display: block;
}
.NotShowMoreInfoBox{
  display: none;
}

.share-content {
  padding-top: 1.67rem;
  margin-bottom: 0.42rem;
  border-top: 1px solid #ebebed;
  margin-top: 0.94rem;
  padding-left: 0.94rem;
 

  @if $appType =="LJ" {
    padding-left: unset;
  }
}

.share-content li {
  float: left;
  margin-left: 0.75rem;
  margin-right: 0.94rem;
  text-align: center;
}

.share-content li p {
  color: #858894;
  font-size: 0.75rem;
}

.share-icon {
  display: inline-block;
  width: 3.75rem;
  height: 3.75rem;
  background-size: 100%;
}

.wuye {
  background-image: url("../../../assets/icon/IM_icon_wuye@3x.png");
}

.xuanzhi {
  background-image: url("../../../assets/icon/IM_icon_xuanzhi@3x.png");
}

.case {
  background-image: url("../../../assets/icon/IM_icon_case@3x.png");
}

.fc {
  background-image: url("https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16193379282647745e4354250c11ad22659ec5850e924.png");
}

.qzqg {
  background-image: url("https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1619337932860acfdf2f6a3cc98b1a989e71efd900744.png");
}

.activity{
  background-image: url("https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_1619337932860acfdf2f6a3cc98b1a989e71efd900744.png");
  margin-top: 0.33rem;
}

.wy {
  background-image: url("https://zeno-img.oss-cn-shenzhen.aliyuncs.com/file_16193379366133a85a7b0dabccd646eaba01137b4d1f0.png");
}

.show-height {
  height: 100vh;
  // transition: 0.3s height;
  // transition-property: transform;
  // transition-duration: 0.2s;
  // transition-timing-function: ease-out;
  // transform: translate(0, 100px);
  display: block !important;
  animation: fadeIn 0.3s;
  // overflow: hidden;
}

@keyframes fadeIn {
  0% {
    height: 0px;
    opacity: 0;
  }

  25% {
    height: 25vh;
    opacity: 0.25;
  }

  50% {
    height: 50vh;
    opacity: 0.5;
  }

  75% {
    height: 75vh;
    opacity: 1;
  }

  100% {
    height: 100vh;
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    // height: 0px;
    opacity: 1;
  }

  25% {
    // height: 25vh;
    opacity: 0.75;
  }

  50% {
    // height: 50vh;
    opacity: 0.5;
  }

  75% {
    // height: 75vh;
    opacity: 0.25;
  }

  100% {
    // height: 100vh;
    opacity: 0;
  }
}

.noheight {
  // height: 0;
  animation: fadeOut 0.5s;
}

.hidden {
  display: none;
}

.share-container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2004;
  height: 100vh;
  display: none;

  // transition: 1s height;

}

.dropbg {
  height: 100%;
  background: #000;
  opacity: 0.4;
}

.share-item {
  background: #fff;
  height: auto;
  bottom: 0;
  position: absolute;
  max-height: 70%;
  width: 100%;
}

// .input{
//    width:100%;
//     direction:rtl;
//     display:block;
//     max-width:100%;
//     line-height:1.5;
//     padding:15px 15px 30px;
//     border-radius:3px;
//     border:1px solid #F7E98D;
//     font:13px Tahoma, cursive;
//     transition:box-shadow 0.5s ease;
//     box-shadow:0 4px 6px rgba(0,0,0,0.1);
//     font-smoothing:subpixel-antialiased;
//     background:linear-gradient(#F9EFAF, #F7E98D);
//     background:-o-linear-gradient(#F9EFAF, #F7E98D);
//     background:-ms-linear-gradient(#F9EFAF, #F7E98D);
//     background:-moz-linear-gradient(#F9EFAF, #F7E98D);
//     background:-webkit-linear-gradient(#F9EFAF, #F7E98D);
// }
.talk-content {
  margin: 1.25rem;
}

.my_message {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;

  .avatar {
    float: right;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1.25rem;
  }

  p {
    background: #ffe770;
    // width: fit-content;
    max-width: 73%;
    color: #27282e;
    font-size: 1rem;
    line-height: 1.38rem;
    margin-right: 0.44rem;
    padding: 0.56rem 1rem;
    position: relative;
    white-space: pre-line;
    border-radius: 5px;
    // margin-left: 3.13rem;
    float: right;

    &::after {
      position: absolute;
      content: "";
      width: 0;
      height: 0;
      border-top: 14px solid transparent;
      border-right: 13px solid transparent;
      border-left: 13px solid #ffe770;
      right: -23px;
      top: 0;
      transform: rotateX(180deg);
    }
  }

  span {
    background: #fff;
    // width: fit-content;
    max-width: 73%;
    color: #27282e;
    font-size: 1rem;
    line-height: 1.38rem;
    margin-right: 0.44rem;
    padding: 0.56rem 1rem;
    position: relative;
    border-radius: 5px;
    white-space: pre-line;
    // margin-left: 3.13rem;
    float: right;

    &::after {
      position: absolute;
      content: "";
      width: 0;
      height: 0;
      border-top: 14px solid transparent;
      border-right: 13px solid transparent;
      border-left: 13px solid #fff;
      right: -23px;
      top: 0;
      transform: rotateX(180deg);
    }
  }
}

.other_message {
  display: flex;
  align-items: flex-start;

  .avatar {
    float: left;
    border-radius: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  p {
    background: #fff;
    color: #27282e;
    width: fit-content;
    max-width: 73%;
    font-size: 1rem;
    line-height: 1.38rem;
    margin-left: 0.88rem;
    padding: 0.56rem 1rem;
    position: relative;
    white-space: pre-line;
    border-radius: 5px;
    margin-right: 3.13rem;

    &::before {
      position: absolute;
      content: "";
      width: 0;
      height: 0;
      border-top: 14px solid transparent;
      border-right: 13px solid #fff;
      border-left: 24px solid transparent;
      top: 0px;
      left: -34px;
      transform: rotateX(180deg);
    }
  }

  // span {
  //   background: #fff;
  //   color: #27282e;
  //   width: fit-content;
  //   font-size: 1rem;
  //   line-height: 1.38rem;
  //   margin-left: 3rem;
  //   padding: 0.56rem 1rem;
  //   position: relative;
  //   border-radius: 5px;
  //   margin-right: 3.13rem;
  //   &::before {
  //     position: absolute;
  //     content: "";
  //     width: 0;
  //     height: 0;
  //     border-top: 14px solid transparent;
  //     border-right: 13px solid #fff;
  //     border-left: 24px solid transparent;
  //     top: 0px;
  //     left: -34px;
  //     transform: rotateX(180deg);
  //   }
  // }
}

.wrap {
  background: #ffffff;
  padding: 0.94rem 1.25rem 0 1.25rem;
  border-radius: 0.31rem;
}

.content {
  padding-bottom: 0.94rem;
  border-bottom: 0.5px solid #ebebed;
  position: relative;
}

.showimg {
  display: inline-block;
}

.showimg-img {
  float: left;
  width: 5.625rem;
  height: 4rem;
  margin-right: 15px;
}

.auth {
  width: fit-content;
  padding: 0.19rem;
  background: rgba(192, 150, 91, 1) linear-gradient(270deg, rgba(179, 143, 94, 1) 0%, rgba(236, 210, 161, 1) 100%);
  // box-shadow: -0.06rem -0.06rem 0.19rem 0rem rgba(255, 235, 102, 0.2);
  border-radius: 0.13rem 0rem 0.13rem 0rem;
  color: #fff5e7;
  font-size: 0.69rem;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 0.69rem;
}

.info {
  display: inline-block;
  vertical-align: top;
  // position: relative;
}

.info p {
  line-height: 1;
}

.content-title {
  font-size: 16px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 12rem;
}

.content-prop {
  font-size: 12px;
  color: #858894;
  margin-top: 10px;
}

.status {
  position: absolute;
  bottom: 1.38rem;
  right: 0;
  font-size: 0.81rem;
  line-height: 0.81rem;
}

.operate {
  text-align: right;
}

.operate-checkbox {
  float: right;
  margin-top: 1.44rem;
}


.button-box {
  z-index: 1000;
  box-shadow: 0 -1px 6px 0 rgba(133, 136, 148, 0.1);
  background: #fff;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.63rem 1.25rem;
  text-align: center;
}

.button-one {
  width: 100%;
  height: 2.81rem;
  background-image: linear-gradient(90deg, #ff9500 0%, #ff6314 100%);
  border-radius: 0.31rem;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  font-weight: bolder;
}

.button-box-disable {
  z-index: 1000;
  box-shadow: 0 -1px 6px 0 rgba(133, 136, 148, 0.1);
  background: #fff;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.63rem 1.25rem;
  text-align: center;
}

.button-two {
  width: 100%;
  height: 2.81rem;
  background-image: linear-gradient(270deg, rgba(255, 99, 20, 1) 0%, rgba(255, 149, 0, 1) 100%);
  opacity: 0.4;
  border-radius: 0.31rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  font-weight: bolder;
}

.empty-list-div {
  text-align: center;
  height: 12.44rem;
}

.empty-list-div-img {
  margin-top: 2.75rem;
  height: 5.63rem;
  width: 5.63rem;
}

.empty-list-div-p {
  margin-bottom: 3.94rem;
  height: 0.88rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(133, 136, 148, 1);
  line-height: 0.88rem;
}

.avatar-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 3.5rem;
  flex-shrink: 0;
}

.orderType {
  font-size: 0.88rem;
  font-weight: 600;
  color: #222222;
}

.orderImg {
  min-width: 4rem;
  width: 4rem;
  height: 4rem;
}

.imgBox {
  height: 4rem;
  background: transparent;
  border-radius: 0.38rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.imgTitle {
  font-size: 0.88rem;
  font-weight: 400;
  color: #222222;
  padding-left: 0.63rem;
}

.orderSubTitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: #999999;
}

.orderNo {
  font-size: 0.75rem;
  font-weight: 400;
  color: #222222;
}

.fromUserNickName {
  width: 5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}


.talkcontentlist {
  overflow: auto;
}

.talk_end {
  height: 0px;
  overflow: hidden;
}



.sendNeedBox {
  ::ng-deep {
    .ant-modal-content {
      .ant-modal-close-x {
        width: 45px;
        height: 45px;
        line-height: 45px;
      }

      .ant-modal-header {
        background: #f2f3f5;
        font-size: 16px;
        font-family: MicrosoftYaHeiUI;
        line-height: 16px;
        padding: 14px 0 14px 20px;

        .ng-star-inserted {
          color: #393a40;
          line-height: 16px;
        }
      }

      .ant-modal-body {
        padding: 20px 30px 30px 30px;
        font-family: MicrosoftYaHeiUI;
      }
    }

    .ant-popover-inner-content {
      padding: 0;
      color: inherit;
    }

    .commonUse span {
      display: block;
      padding: 10px 15px;
    }

    .commonUse span:hover {
      background: #f2f3f5;
    }

    .sendNeedTitle {
      font-size: 16px;
      line-height: 16px;
      font-weight: bold;
      color: #7e818c;
      margin-bottom: 20px;
    }

    .sendNeedTitleTx {
      display: inline-block;
      margin: 0 40px 0 0;
      padding-bottom: 4px;
      cursor: pointer;
    }

    .sendSeBox {
      position: relative;
      display: inline-block;
      margin-bottom: 10px;
    }

    .sendSeBox:last-child .sendSelect {
      margin-right: 0;
    }

    .sendSelect {
      display: flex;
      justify-content: space-between;
      width: 140px;
      height: 38px;
      border: 1px solid #e3e4e6;
      border-radius: 2px;
      font-size: 14px;
      line-height: 38px;
      padding: 0 10px;
      margin-right: 10px;
    }

    .sendSelecttxt {
      color: #393a40;
    }

    .sendSelectList {
      position: absolute;
      width: 140px;
      max-height: 168px;
      background: #fff;
      box-shadow: 2px 2px 5px 0 rgba(57, 58, 64, 0.15);
      border-radius: 2px;
      border: 1px solid rgba(227, 228, 230, 1);
      z-index: 20;
    }

    .sendSelectLi {
      overflow: auto;
      max-height: 168px;
      margin-right: 3px;
    }

    .sendSelectLi::-webkit-scrollbar {
      /* 滚动条整体样式 */
      /* 高宽分别对应横竖滚动条的尺寸 */
      width: 6px;
      height: 6px;
    }

    .sendSelectLi::-webkit-scrollbar-thumb {
      /* 滚动条里面小方块 */
      width: 6px;
      height: 100px;
      border-radius: 5px;
      background: rgba(227, 228, 230, 1);
    }

    .sendSelectLi::-webkit-scrollbar-track {
      /* 滚动条里面轨道 */
      border-radius: 0;
      background: transparent;
    }

    .sendSelectValue {
      color: #7e818c;
      line-height: 32px;
      margin-left: 10px;
      cursor: pointer;
    }

    .sendSelectValue:hover {
      color: #248bf2;
    }

    .sendSeInput {
      width: 220px;
      height: 38px;
      border-radius: 4px;
      padding: 0 10px;
      border: 1px solid #e3e4e6;
    }

    .sendSeBtn {
      width: 84px;
      height: 38px;
      vertical-align: top;
      margin: 0 0 0 15px;
      background: #248bf2;
      border-radius: 4px;
      font-size: 12px;
      color: #fff;
      border: none;
      cursor: pointer;
    }

    .sendSeBtn:hover {
      background-color: #207dda;
    }

    .pagination {
      width: 740px;
      text-align: right;
      color: #5c5e66;
      line-height: 14px;
    }

    .pagination span {
      margin: 0 10px;
    }

    .pagination img {
      position: relative;
      bottom: 2px;
    }

    .paginationHover {
      cursor: pointer;
    }

    .sendNeedList {
      overflow: auto;
    }

    .sendNeedList::-webkit-scrollbar {
      /* 滚动条整体样式 */
      /* 高宽分别对应横竖滚动条的尺寸 */
      width: 5px;
      height: 5px;
    }

    .sendNeedList::-webkit-scrollbar-thumb {
      /* 滚动条里面小方块 */
      width: 5px;
      height: 140px;
      border-radius: 5px;
      background: rgba(227, 228, 230, 1);
    }

    .sendNeedList::-webkit-scrollbar-track {
      /* 滚动条里面轨道 */
      border-radius: 0;
      background: transparent;
    }

    .sendNeedRow {
      display: inline-block;
      vertical-align: middle;
      position: relative;
      width: 360px;
      padding: 10px 0;
      margin: 0;
      border-bottom: #e3e4e6 solid 1px;
    }

    .sendNeedList .sendNeedRow:nth-child(2n + 2) {
      margin-left: 20px;
    }

    .sendNeedRow:last-of-type,
    .sendNeedRow:nth-last-child(2) {
      border-bottom: 0;
    }

    .sendNeedRow:hover {
      background: #f2f3f5;
    }

    .sendNeedNo {
      margin: 60px 0;
      text-align: center;
      font-size: 16px;
      line-height: 16px;
      color: #7e818c;
    }

    .sendNeedNo img {
      position: relative;
      top: 2px;
      margin-right: 5px;
    }

    .sendNeedNoBtn {
      width: 72px;
      height: 28px;
      background: #248bf2;
      border-radius: 2px;
      color: #fff;
      font-size: 12px;
      border: none;
      cursor: pointer;
      margin-top: 20px;
    }

    .sendNeedNoBtn:hover {
      background-color: #207dda;
    }

    .sendNeedImg {
      position: relative;
      display: inline-block;
      width: 80px;
      height: 60px;
      border-radius: 2px;
      background: gainsboro;
      vertical-align: middle;
      margin-right: 10px;
    }

    .video_play {
      position: absolute;
      top: calc(50% - 16px);
      left: calc(50% - 16px);
      z-index: 3;
    }

    .sendNeedInfo {
      display: inline-block;
      vertical-align: middle;
      height: 60px;
    }

    .sendNeedInfo1 {
      position: relative;
      max-width: 330px;
      height: 78px;
    }

    .sendNeedInfoTitle {
      width: 240px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: bold;
      line-height: 14px;
      padding-bottom: 4px;
    }

    .sendNeedInfoTitle1 {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: bold;
      line-height: 14px;
      padding-bottom: 4px;
    }

    .sendNeedInfoTx {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      clear: both;
      margin-top: 8px;
      color: #7e818c;
      line-height: 12px;
      font-size: 12px;
    }

    .sendNeedInfoTx img {
      position: relative;
      bottom: 1px;
      margin-right: 2px;
    }

    .sendNeedInfoTx img:first-of-type {
      margin: 0 2px 0 10px;
    }

    .sendNeedInfoTx img:last-of-type {
      margin-right: 5px;
    }

    .cardBubbleTxCase {
      font-size: 11px;
      line-height: 11px;
      color: #9d9fa6;
    }

    .sendNeedInfoTx1 {
      display: none;
      position: absolute;
      bottom: 5px;
      right: 15px;
      border: 1px solid;
      width: 38px;
      height: 22px;
      text-align: center;
      line-height: 20px;
      color: #1a8cff;
      cursor: pointer;
    }

    .sendNeedRow:hover .sendNeedInfoTx1 {
      display: inline-block;
    }

    .infoInput {
      width: 380px;
      height: 54px;
      padding: 8px 10px;
      display: block;
      resize: none;
      background: rgba(255, 255, 255, 1);
      border-radius: 2px;
      border: 1px solid #e3e4e6;
    }

    .infoInput:focus {
      outline: none;
      border-color: #e3e4e6;
    }

    .infoInput::placeholder {
      color: #9d9fa6;
    }

    .sendBox {
      display: flex;
      justify-content: flex-end;
      width: 400px;
    }

    .sendBtn {
      width: 54px;
      height: 28px;
      margin: 10px 0;
      background: #248bf2;
      border-radius: 4px;
      font-size: 12px;
      color: #fff;
      border: none;
      cursor: pointer;
    }

    .sendBtn:hover {
      background-color: #207dda;
    }

    .cardAuth {
      position: absolute;
      top: 0;
      left: 0;
      width: 27px;
      height: 16px;
      background: linear-gradient(270deg, rgba(72, 191, 48, 1) 0%, rgba(154, 217, 65, 1) 100%);
      font-size: 11px;
      line-height: 16px;
      text-align: center;
      color: #fff;
      z-index: 12;
    }

    .active {
      border-bottom: 2px solid #248bf2;
      color: #393a40;
    }

    .marginL5 {
      margin-left: 5px;
    }

    .pagination2 {
      text-align: right;
      height: 20px;
    }

    .ant-pagination-simple .ant-pagination-simple-pager input {
      width: 40px;
      height: 16px;
    }

    .ant-pagination-slash {
      margin: 0 5px 0 0;
    }

    .marginL32 {
      margin-left: 32px;
    }
  }
}



.talkcontentlist {
  overflow: auto;
  transition: top 1s ease-in-out; 
}

.talk_end {
  height: 0px;
  overflow: hidden;
  transition: top 1s ease-in-out; 
}


.windowImg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  vertical-align: top;
}


.marginR10L15 {
  margin: 0 10px 0 15px;
}

.marginR15L10 {
  margin: 0 15px 0 10px;
}

.talkItem {
  display: flex;
  width: 100%;
}

.windowImg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  vertical-align: middle;
}



.hideBox{
  display: none;
}